package cn.cpf.exercise.distributed;

/**
 * <b>Description : </b>
 *
 * @author CPF
 * Date: 2020/3/17 9:47
 */
public interface CommonService {

    /**
     * @param number 消费金额
     * @return 消费是否成功
     */
    int pay(int number);

}
